<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>角色管理-新增</title>
    <meta name="description" content="这是一个角色管理页面">
    <meta name="keywords" content="角色管理">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="${contextPath}/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="${contextPath}/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="stylesheet" href="${contextPath}/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="${contextPath}/assets/css/amazeui.datatables.min.css"/>
    <link rel="stylesheet" href="${contextPath}/assets/css/app.css">
    <script src="${contextPath}/assets/js/jquery.min.js"></script>

</head>

<body data-type="widgets">
<script src="${contextPath}/assets/js/theme.js"></script>
<div class="am-g tpl-g">
    <!-- 头部 -->
    <#include "/pc/common/header.html">
        <!-- 侧边导航栏 -->
        <#include "/pc/common/left.html">
            <!-- 内容区域 -->
            <div class="tpl-content-wrapper">
                <div class="row-content am-cf">
                    <div class="row">
                        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                            <div class="widget am-cf">
                                <ol class="am-breadcrumb widget-head">
                                    <li><a href="${contextPath}/index.htm" class="am-icon-home">首页</a></li>
                                    <li>系统管理</li>
                                    <li><a href="${contextPath}/settings/jsgl.htm">角色管理</a></li>
                                    <#if js?? && js.id??>
                                        <li>修改</li>
                                    <#else>
                                        <li>新增</li>
                                    </#if>
                                </ol>
                                <div class="widget-body  am-fr">
                                    <div class="am-u-sm-12">
                                        <form class="am-form am-form-horizontal"
                                              action="${contextPath}/role/save.htm" method="post">
                                            <fieldset>
                                                <#if js?? && js.id??>
                                                    <input type="hidden" name="jsid" value="${js.id}">
                                                </#if>
                                                <div class="am-form-group">
                                                    <label for="doc-ipt-3" class="am-u-sm-2 am-form-label">角色名称</label>
                                                    <div class="am-u-sm-10">
                                                        <input type="text" id="doc-ipt-3" name="mc"
                                                        <#if js?? && js.mc??>value="${js.mc}"</#if>
                                                        placeholder="输入你的角色名称" required>
                                                    </div>
                                                </div>

                                                <div class="am-form-group">
                                                    <label for="doc-ipt-pwd-2"
                                                           class="am-u-sm-2 am-form-label">排序号</label>
                                                    <div class="am-u-sm-10">
                                                        <input type="number" id="doc-ipt-pwd-2" name="orders"
                                                        <#if js?? && js.orders??>value="${js.orders}"</#if>
                                                        placeholder="设置一个排序号吧" required>
                                                    </div>
                                                </div>

                                                <div class="am-form-group">
                                                    <div class="am-u-sm-10 am-u-sm-offset-2">
                                                        <button type="submit" class="am-btn am-btn-primary">保存</button>
                                                        <a href="javascript:history.back();"
                                                           class="am-btn am-btn-default">返回</a>
                                                    </div>
                                                </div>
                                            </fieldset>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
</div>
</div>
<script src="${contextPath}/assets/js/amazeui.min.js"></script>
<script src="${contextPath}/assets/js/amazeui.datatables.min.js"></script>
<script src="${contextPath}/assets/js/dataTables.responsive.min.js"></script>
<script type="text/javascript" src="${contextPath}/assets/js/amazeui.page.js"></script>
<script src="${contextPath}/assets/js/app.js"></script>
<script>
    $(document).ready(function () {
    });
</script>
</body>

</html>